package ch05;

public class InvestmentRunner {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		final double INITIAL_BALANCE = 10000;
		final double RATE = 5;
		final int YEARS = 20;
		
		Investment invest = new Investment(INITIAL_BALANCE, RATE);
		invest.waitYears(YEARS);
		
		double balance = invest.getBalance();
		System.out.println(balance);

	}

}
